package io.jee.runshan.service.impl;

import io.jee.medusa.orm.DaoSupport;
import io.jee.medusa.service.impl.BaseService;
import io.jee.runshan.dao.IInformationDao;
import io.jee.runshan.domain.Information;
import io.jee.runshan.service.IInformationService;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 消息Service实现
 * @author SunX
 *
 */
@Service
@Transactional
public class InformationServiceImpl extends BaseService<Information> implements IInformationService {
	
	@Resource
	private IInformationDao informationDao;

	@Override
	public DaoSupport<Information> getDao() {
		return informationDao;
	}

	@Override
	public void updateFloorOnTop(Integer id) {
		informationDao.updateFloorOnTop(id);
	}

}
